package com.shopowner.mapper;

import com.shopowner.entity.Activitytype;
import com.shopowner.entity.ActivitytypeExample;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface ActivitytypeMapper {
    long countByExample(ActivitytypeExample example);

    int deleteByExample(ActivitytypeExample example);

    int deleteByPrimaryKey(String atno);

    int insert(Activitytype record);

    int insertSelective(Activitytype record);

    String getMaxAtno();

    List<Activitytype> getActivitytypeByPage(Map map);

    List<Activitytype> selectByExample(ActivitytypeExample example);

    Activitytype selectByPrimaryKey(String atno);

    int updateByExampleSelective(@Param("record") Activitytype record, @Param("example") ActivitytypeExample example);

    int updateByExample(@Param("record") Activitytype record, @Param("example") ActivitytypeExample example);

    int updateByPrimaryKeySelective(Activitytype record);

    int updateByPrimaryKey(Activitytype record);
}